package com.hfmall.service;

import com.hfmall.entity.HfUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liclo
 * @since 2021-08-12
 */
public interface IHfUserService extends IService<HfUser> {
   void updateByID(HfUser hfUser);
    HfUser login(String account);

    HfUser findByCode(String code);

    HfUser getbyName(String name);

    void updateMoney(Integer user_id, BigDecimal money);
}
